package com.ipc.admin.service.zzcool.service;

import com.ipc.common.pojo.zzcool.bo.AnnouncementBo;
import com.ipc.common.pojo.vo.R;
import com.ipc.core.entity.zzcool.Announcement;

/**
 * @author Zzcool
 * @create 2023-04-28 11:29
 */
public interface AnnouncementService{
    /**
     * 新增内容*/
    R save(Announcement announcement);
    /**
     * 修改内容*/
    R updateById(Announcement announcement);
    /**
     *删除 */
    R del(int id);
    /**
     * 查询详情*/
    R queryById(int id);
    /**
     * 查询 所有数据*/
    R queryAllWhere(AnnouncementBo bo);

    R queryAll();

//    R page(Page<Announcement> page, Announcement announcement);
}
